import request from '@/utils/request'
export default {
  // 生成订单
  createOrder(courseId) {
    return request({
      url: `/eduorder/order/createOrder/${courseId}`,
      method: 'post'
    })
  },

  // 获取订单信息
  getOrderInfo(orderId){
    return request({
      url: `/eduorder/order/getOrder/${orderId}`,
      method: 'get'
    })
  }
}